package sa_prakt1.bl.entity.impl;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.ArrayList;
import java.util.List;
import sa_prakt1.bl.entity.interfaces.Entry;
import sa_prakt1.bl.entity.interfaces.Forum;
import sa_prakt1.bl.entity.interfaces.Member;

/**
 *
 * @author Andreas
 */
public abstract class AbstractForum implements Forum {

    private String OID;
    private String Title;
    private List<Member> members = new ArrayList<>();
    private List<Entry> entries = new ArrayList<>();

    public AbstractForum() {
    }

    public AbstractForum(String OID, String Title) {
        this.OID = OID;
        this.Title = Title;

    }

    /**
     * @return the OID
     */
    @Override
    public String getOID() {
        return OID;
    }

    /**
     * @param OID the OID to set
     */
    @Override
    public void setOID(String OID) {
        this.OID = OID;
    }

    /**
     * @return the Title
     */
    @Override
    public String getTitle() {
        return Title;
    }

    /**
     * @param Title the Title to set
     */
    @Override
    public void setTitle(String Title) {
        this.Title = Title;
    }

    /**
     * @return the members
     */
    @Override
    public List<Member> getMembers() {
        return members;
    }

    /**
     * @param members the members to set
     */
    @Override
    public void setMembers(List<Member> members) {
        this.members = members;
    }

    /**
     * @return the entries
     */
    @Override
    public List<Entry> getEntries() {
        return entries;
    }

    /**
     * @param entries the entries to set
     */
    @Override
    public void setEntries(List<Entry> entries) {
        this.entries = entries;
    }
}
